package com.springbootstart.controller;

import org.apache.logging.log4j.core.config.plugins.util.ResolverUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {
    private final static Logger log = LoggerFactory.getLogger(TestController.class);
    public TestController() {
        log.info("testController init");
    }
    @RequestMapping("getData")

    public Object getData() {
        return "data";
    }
}
